package com.happy.cat.project.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.happy.cat.framework.aspectj.lang.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;


/**
 * 用户订单申诉对象 user_order_appeal
 * 
 * @author verne
 * @date 2020-08-13
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
@TableName(autoResultMap = true )
@ApiModel(value="用户订单申诉对象", description="用户订单申诉对象数据")
public class UserOrderAppeal implements Serializable {

private static final long serialVersionUID=1L;


    /** 主键 */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /** 申诉编号 */
    @Excel(name = "申诉编号")
    @ApiModelProperty(value = "申诉编号")
    private String code;

    /** 订单号 */
    @Excel(name = "订单号")
    @ApiModelProperty(value = "订单号")
    private String orderCode;

    /** 用户ID */
    @Excel(name = "用户ID")
    @ApiModelProperty(value = "用户ID")
    private Long userId;

    /** 申诉理由 */
    @Excel(name = "申诉理由")
    @ApiModelProperty(value = "申诉理由")
    private String reason;

    /** 截图 */
    @Excel(name = "截图")
    @ApiModelProperty(value = "截图")
    private String screenshot;

    /** 状态(1待处理，2已拒绝，3已退款) */
    @Excel(name = "状态(1待处理，2已拒绝，3已退款)")
    @ApiModelProperty(value = "状态(1待处理，2已拒绝，3已退款)")
    private Integer status;

    /** 提交时间 */
    @Excel(name = "提交时间" , width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "提交时间")
    private Date createTime;

    /** 处理时间 */
    @Excel(name = "处理时间" , width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "处理时间")
    private Date dealTime;

    /** 操作人 */
    @ApiModelProperty(value = "操作人")
    private String createBy;
}
